Home > Overview best-sellers card (top products ranked by revenue MTD)
Returns up to six best-selling products for the current calendar month ranked by revenue in the company’s base currency, with total units and average price alongside the product image.
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rows": [
{
"rank": 1,
"product_id": 30417,
"title": "Dunder Mifflin 20lb Copy Paper",
"thumbnail_url": "https://cdn.fluid.app/dunder-mifflin/products/20lb-copy-paper/main.jpg",
"units": 214,
"revenue": "11767.86",
"avg_price": "54.99",
"spark": [
"1154.79",
"1374.75",
"989.82",
"1264.77",
"1484.73",
"1594.71",
"2089.62"
]
},
{
"rank": 2,
"product_id": 30422,
"title": "Schrute Farms Beet Box",
"thumbnail_url": "https://cdn.fluid.app/dunder-mifflin/products/schrute-farms-beet-box/main.jpg",
"units": 96,
"revenue": "4032.0",
"avg_price": "42.0",
"spark": [
"378.0",
"420.0",
"294.0",
"462.0",
"504.0",
"336.0",
"588.0"
]
},
{
"rank": 3,
"product_id": 30419,
"title": "Scranton Branch Mug",
"thumbnail_url": null,
"units": 131,
"revenue": "2423.5",
"avg_price": "18.5",
"spark": [
"185.0",
"222.0",
"0.0",
"259.0",
"314.5",
"277.5",
"351.5"
]
}
],
"currency": "USD",
"meta": {
"request_uuid": "0a5d7f38-e2c4-4b91-8f6d-24b8e9c1a753",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}Authorizations
Query Parameters
ISO alpha-2 code of one of the requesting company's configured
countries (see GET /countries). When present, every service
on this endpoint filters its data to that country and reports
money in the country's own currency. Omit (or send "all")
for the aggregate-across-countries view, which is the default
and matches pre-Phase-004 behavior. Unknown ISO codes or ones
the company is not configured for return 400.
"US"
Response
Best-sellers card payload
Top-selling products for the current calendar month, ranked by revenue descending. Empty array when the company has no revenue-recognized orders in the window.
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/best_sellers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rows": [
{
"rank": 1,
"product_id": 30417,
"title": "Dunder Mifflin 20lb Copy Paper",
"thumbnail_url": "https://cdn.fluid.app/dunder-mifflin/products/20lb-copy-paper/main.jpg",
"units": 214,
"revenue": "11767.86",
"avg_price": "54.99",
"spark": [
"1154.79",
"1374.75",
"989.82",
"1264.77",
"1484.73",
"1594.71",
"2089.62"
]
},
{
"rank": 2,
"product_id": 30422,
"title": "Schrute Farms Beet Box",
"thumbnail_url": "https://cdn.fluid.app/dunder-mifflin/products/schrute-farms-beet-box/main.jpg",
"units": 96,
"revenue": "4032.0",
"avg_price": "42.0",
"spark": [
"378.0",
"420.0",
"294.0",
"462.0",
"504.0",
"336.0",
"588.0"
]
},
{
"rank": 3,
"product_id": 30419,
"title": "Scranton Branch Mug",
"thumbnail_url": null,
"units": 131,
"revenue": "2423.5",
"avg_price": "18.5",
"spark": [
"185.0",
"222.0",
"0.0",
"259.0",
"314.5",
"277.5",
"351.5"
]
}
],
"currency": "USD",
"meta": {
"request_uuid": "0a5d7f38-e2c4-4b91-8f6d-24b8e9c1a753",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}